<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>

<c:set var="pageTitle" value="Welcome to myCalendar!" scope="request" />
<jsp:include page="./includes/header.jsp" />
<link rel="stylesheet" href="<s:theme code="css"/>"/>
<p>Below you can find some highlights about myCalendar. Each sample will
  have a slightly different summary depending on what has been done.</p>
<h2>default-target-url by role</h2>
<ul>
  <li>Visit the My Events Page, login, and observe you are on the My Events
    Page. Logout.</li>
  <li>Login as user1@example.com / user1 and observe you are sent to the
    Welecome page. Logout.</li>
  <li>Login as admin1@example.com / admin1 and observe you are sent to the
    All Events page. Logout.</li>
  <li><a id="eventsLink" href="events/">All Events</a> - shows all events
    for all users, but only allows administrators to access the page.</li>
  <li><a id="myEventsLink" href="events/my">My Events</a> - shows all
    events that user1@example.com is the owner or attendee. We will discuss in
    Chapter 3 how to obtain the current user's events.</li>
  <li><a id="createEventLink" href="events/form">Create Event</a> - will
    allow creating a new Event with user1@example.com as the owner. We will
    discuss in Chapter 3 how to make the current user the owner.</li>
  <li><a id="logoutLink" href="/springapp/j_spring_security_check">Logout</a>
    - we haven't discussed it yet, but you can logout using
    j_spring_security_logout. Later in in this chapter we will discuss how to
    customize logout and provide a logout link.</li>
</ul>
<hr />
<img src="<s:theme code="image"/>"/>
<span style="float: left">
  <a href="?theme=default">Default</a>
  |
  <a href="?theme=blue">Blue</a>
</span>
<jsp:include page="./includes/footer.jsp" />